Optimal. Leaf size=46 \[ \frac{c x \, _2F_1\left (3,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )}{a^3}-\frac{d}{2 b n \left (a+b x^n\right )^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0295255, antiderivative size = 46, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 19, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.158, Rules used = {1891, 245, 261} \[ \frac{c x \, _2F_1\left (3,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )}{a^3}-\frac{d}{2 b n \left (a+b x^n\right )^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1891
Rule 245
Rule 261
Rubi steps
\begin{align*} \int \frac{c+d x^{-1+n}}{\left (a+b x^n\right )^3} \, dx &=c \int \frac{1}{\left (a+b x^n\right )^3} \, dx+d \int \frac{x^{-1+n}}{\left (a+b x^n\right )^3} \, dx\\ &=-\frac{d}{2 b n \left (a+b x^n\right )^2}+\frac{c x \, _2F_1\left (3,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )}{a^3}\\ \end{align*}
Mathematica [A] time = 0.0744282, size = 63, normalized size = 1.37 \[ \frac{2 b c n x \left (a+b x^n\right )^2 \, _2F_1\left (3,\frac{1}{n};1+\frac{1}{n};-\frac{b x^n}{a}\right )-a^3 d}{2 a^3 b n \left (a+b x^n\right )^2} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.355, size = 0, normalized size = 0. \begin{align*} \int{\frac{c+d{x}^{-1+n}}{ \left ( a+b{x}^{n} \right ) ^{3}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\left (2 \, n^{2} - 3 \, n + 1\right )} c \int \frac{1}{2 \,{\left (a^{2} b n^{2} x^{n} + a^{3} n^{2}\right )}}\,{d x} + \frac{b^{2} c{\left (2 \, n - 1\right )} x x^{n} + a b c{\left (3 \, n - 1\right )} x - a^{2} d n}{2 \,{\left (a^{2} b^{3} n^{2} x^{2 \, n} + 2 \, a^{3} b^{2} n^{2} x^{n} + a^{4} b n^{2}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{d x^{n - 1} + c}{b^{3} x^{3 \, n} + 3 \, a b^{2} x^{2 \, n} + 3 \, a^{2} b x^{n} + a^{3}}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{d x^{n - 1} + c}{{\left (b x^{n} + a\right )}^{3}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]